# coding=utf-8

from flask import current_app


def close_ssh(ssh):
    ssh.close()
    current_app.logger.info('disconnect to the host......')
